// 用户相关的所有请求

import { request } from "@/utils/request";
// 登录请求
export const loginAPI = (formData) => {
      return request({
            url: '/authorizations',
            method: 'POST',
            data: formData
      })
}

// 获取个人信息
export const profileAPI = () => {
      return request({
            url: '/user/profile',
            method: 'GET'
      })
}